<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="checkuser.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>ATM自助服务系统欢迎您</title>
	<link href="style/bootstrap.min.css" rel="stylesheet">
	<style type="text/css">
    	body{
    		padding:70px;
    	}
    </style>
  </head>
  
  <body>
  	<div class="topbar" data-dropdown="dropdown">
		<div class="topbar-inner">
			<div class="container">
				<h3>
					<a href="#">ATM自助服务系统欢迎您！</a>
				</h3>
				
				<ul class="nav secondary-nav">
					<li class="dropdown">
						<a class="dropdown-toggle" href="#"><%=acc.getUsername() %></a>
						
					</li>
				</ul>
			</div>
		</div>
	</div>
    <div class="container">
    	<h3>
    	您当前的余额：<%=acc.getMoney() %>元
   	 	</h3>	
   	 	<br/>
    	您可以进行如下操作：
    	<ul>
    		<li><a class="btn primary" href="user.jspx?task=save">存款</a></li>
    		<li><a class="btn primary" href="user.jspx?task=min">取款</a></li>
    		<li><a class="btn primary" href="user.jspx?task=tran">转账</a></li>
    		<li><a class="btn primary" href="user.jspx?task=update">修改密码</a></li>
    		<li><a class="btn primary" href="product.jspx?task=list">购物</a></li>
    		<li><a class="btn primary" href="user.jspx?task=logout">安全退出</a></li>
    		
    	</ul>
	</div>
    
  </body>
</html>
